/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'
import i18n from './../../lang/index'
const addRouter = {
  path: '/company/list',
  component: Layout,
  name: '项目填报',
  meta: {
    title: '项目填报',
    subtitle: '项目填报',
    icon: 'system',
    permissions: ['add']
  },
  children: [

    // 注册路由
    {
      path: '/company/list',
      component: () => import('@/views/company/list'),
      name: '/company/list',
      meta: { title: '企业资料列表', subtitle: '企业资料列表', icon: 'menu_sysMenu', permissions: ['company.add']},

      // hidden: true
    },
    {
      path: '/company/add',
      component: () => import('@/views/company/add'),
      name: 'companyAdd',
      meta: { title: '新增企业资料', subtitle: '新增企业资料', icon: 'menu_sysMenu', permissions: ['company.add'], },

      hidden: true
    },
    {
      path: '/company/edit',
      component: () => import('@/views/company/edit'),
      name: 'companyEdit',
      meta: { title: '编辑企业资料', subtitle: '编辑企业资料', icon: 'menu_sysMenu', permissions: ['company.add']},

      hidden: true
    },
    {
      path: '/company/view',
      component: () => import('@/views/company/view'),
      name: '/company/view',
      meta: { title: '企业资料详情', subtitle: '企业资料详情', icon: 'menu_sysMenu', permissions: ['company.add']},
      hidden: true
    },

    {
      path: '/project/list',
      component: () => import('@/views/project/list'),
      name: 'projectList',
      meta: { title: '项目资料列表', subtitle: '项目资料列表', icon: 'menu_sysMenu', permissions: ['project.add']},

      // hidden: true
    },
    {
      path: '/project/add',
      component: () => import('@/views/project/add'),
      name: 'projectAdd',
      meta: { title: '新增项目资料填报', subtitle: '新增项目资料填报', icon: 'menu_sysMenu', permissions: ['project.add'], },

      hidden: true
    },
    {
      path: '/project/edit',
      component: () => import('@/views/project/edit'),
      name: 'projectEdit',
      meta: { title: '编辑项目资料填报', subtitle: '编辑项目资料填报', icon: 'menu_sysMenu', permissions: ['project.add'], },

      hidden: true
    },
    {
      path: '/project/view',
      component: () => import('@/views/project/view'),
      name: 'projectView',
      meta: { title: '项目资料详情', subtitle: '企业资料详情', icon: 'menu_sysMenu', permissions: ['project.add']},
      hidden: true
    },

    {
      path: '/projectActivity/list',
      component: () => import('@/views/projectActivity/list'),
      name: 'projectActivityList',
      meta: { title: '项目活动列表', subtitle: '项目活动列表', icon: 'menu_sysMenu', permissions: ['projectActivity.add']},

      // hidden: true
    },
    {
      path: '/projectActivity/add',
      component: () => import('@/views/projectActivity/add'),
      name: 'projectActivityAdd',
      meta: { title: '新增项目活动填报', subtitle: '新增项目活动填报', icon: 'menu_sysMenu', permissions: ['projectActivity.add'], },

      hidden: true
    },
    {
      path: '/projectActivity/edit',
      component: () => import('@/views/projectActivity/edit'),
      name: 'projectActivityEdit',
      meta: { title: '编辑项目活动填报', subtitle: '编辑项目活动填报', icon: 'menu_sysMenu', permissions: ['projectActivity.add'], },

      hidden: true
    },
    {
      path: '/projectActivity/view',
      component: () => import('@/views/projectActivity/view'),
      name: 'projectActivityView',
      meta: { title: '项目活动详情', subtitle: '项目活动详情', icon: 'menu_sysMenu', permissions: ['projectActivity.add']},
      hidden: true
    },

    {
      path: '/projectExecute/list',
      component: () => import('@/views/projectExecute/list'),
      name: 'projectExecuteList',
      meta: { title: '项目运营列表', subtitle: '项目运营列表', icon: 'menu_sysMenu', permissions: ['projectExecute.add']},

      // hidden: true
    },
    {
      path: '/projectExecute/add',
      component: () => import('@/views/projectExecute/add'),
      name: 'projectExecuteAdd',
      meta: { title: '新增项目运营填报', subtitle: '新增项目运营填报', icon: 'menu_sysMenu', permissions: ['projectExecute.add'], },

      hidden: true
    },
    {
      path: '/projectExecute/edit',
      component: () => import('@/views/projectExecute/edit'),
      name: 'projectExecuteEdit',
      meta: { title: '编辑项目运营填报', subtitle: '编辑项目运营填报', icon: 'menu_sysMenu', permissions: ['projectExecute.add'], },

      hidden: true
    },
    {
      path: '/projectExecute/view',
      component: () => import('@/views/projectExecute/view'),
      name: 'projectExecuteView',
      meta: { title: '企业资料详情', subtitle: '企业资料详情', icon: 'menu_sysMenu', permissions: ['projectExecute.add']},
      hidden: true
    },
  ]
}
export default addRouter
